# Contributor: MrBiTs <mrbits@mrbits.com.br>
# Maintainer: MrBiTs <mrbits@mrbits.com.br>
pkgname="shc"
pkgver="4.0.3"
pkgrel=1
pkgdesc="A generic shell script compiler."
url="https://neurobin.org/projects/softwares/unix/shc/"
arch="all"
license="GPL-3.0-or-later"
source="$pkgname-$pkgver.tar.gz::https://github.com/mrbitsdcf/shc/archive/$pkgver.tar.gz"
options="!check" # Test is disabled because developer didn't provide a test function

build() {
	./configure
	make
}

package() {
	install -v -m 0755 -d $pkgdir/bin/
	install -v -m 0755 $builddir/src/shc $pkgdir/bin/
}

sha512sums="78fbab26c652b3c3a41401e044ae69776fbdf5d28736c55bcf111f4261f863f6d97d81e87ad9288faf9c9a3299c1453dcca9ffd9d9ea04a1ff2b7299257e8cf7  shc-4.0.3.tar.gz"
